package com.yugao.fintech.antelope.pay.payment.channel;

import com.yugao.fintech.antelope.pay.constant.IfCodeEnum;
import com.yugao.fintech.antelope.pay.model.entity.PayOrder;
import com.yugao.fintech.antelope.pay.payment.model.bo.MchAppConfigContext;
import com.yugao.fintech.antelope.pay.payment.model.rqrs.ChannelRetMsgExt;

/**
 * 关闭订单（渠道侧）接口定义
 *

 */
public interface IPayOrderCloseService {

    /**
     * 获取到接口code
     */
    IfCodeEnum getIfCode();

    /**
     * 查询订单
     */
    ChannelRetMsgExt close(PayOrder payOrder, MchAppConfigContext mchAppConfigContext) throws Exception;

}
